package com.name.givename.service;

import com.github.pagehelper.Page;
import com.name.givename.dto.BonusInfoDTO;
import com.name.givename.param.BonusInfoParams;
import com.name.givename.param.UserOpenRedpackParams;
import com.name.givename.entity.UserAndBonusEntity;
import com.name.givename.utils.Result;

import java.util.List;

/**
 * Created by yangtianrui on 18/9/2.
 */
public interface UserBonusInfoService {

     Result<List<BonusInfoDTO>> getRedPack(UserOpenRedpackParams userOpenRedpackParams);
     List<BonusInfoDTO> sendRedPack();
     Page<UserAndBonusEntity> getUserAndBonus();
     List<UserAndBonusEntity> getBonusCount(String openId);
}
